.emoji-picker {
  .react-aria-Button {
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 1em;
  }
}

.emoji-picker-popover {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
  height: 350px;
  box-sizing: border-box;

  .react-aria-SearchField {
    width: 100%;
  }
}

.emoji-list {
  flex: 1;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  scroll-padding-top: 4px;
  scroll-padding-bottom: 4px;
}

.emoji-item {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  font-size: 24px;

  &[data-hovered] {
    background-color: var(--highlight-hover);
  }

  &[data-pressed] {
    background-color: var(--highlight-pressed);
  }

  &[data-focus-visible] {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
  }

  &[data-selected] {
    background-color: var(--highlight-background);
    color: var(--highlight-foreground);
  }
}

